home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / ThreadLibrary 1.3 / Documentation / README < prev    next >
Text File  |  1995-09-18  |  2KB  |  47 lines

  1. Thread Library is a free library, for use by Macintosh software developers, 
  2. that implements cooperative multiple thread execution within a single 
  3. application. Thread Library
  4.  
  5. -    does not require any extensions;
  6.  
  7. -    should work with all Macintosh models (from the Plus on up);
  8.  
  9. -    works with System 7.x and with System 6.x under Finder or MultiFinder;
  10.  
  11. -    may be used as a compatability layer for systems without Apple's Thread Manager;
  12.  
  13. -    runs in native mode on 680x0 and PowerPC based Macintoshes;
  14.  
  15. -    compiles into a small library of 3 to 8 kilobytes;
  16.  
  17. -    works with the Symantec, Metrowerks, and MPW compilers.
  18.  
  19. Context switches in the 680x0 version of Thread Library are 2-3 times faster
  20. than Apple's Thread Manager. Context switches in the PowerPC version of Thread
  21. Library are about 2 times faster than Apple's Thread Manager.
  22.  
  23. Every thread has its own stack, and there are no restrictions on the objects that 
  24. can be allocated on a thread's stack. All other global application data are 
  25. shared by threads. Context switches are very efficient since they involve only 
  26. a few operations to save the current thread's state, followed by a context switch 
  27. to the new thread, and a few instructions to restore the new thread's state. 
  28. This distribution includes:
  29.  
  30. -    complete source code in C;
  31.  
  32. -    detailed documentation in Microsoft Word 5.0 format;
  33.  
  34. -    prebuilt libraries for 68K and PowerPC programs, including debug 
  35. versions of the libraries;
  36.  
  37. -    a new interface that mimics Apple's Thread Manager;
  38.  
  39. -    a simple test application that demonstrates how threads may be used;
  40.  
  41. -    an application that compares the speed of Thread Library with the 
  42. speed of Apple's Thread Manager;
  43.  
  44. -    Metrowerks CodeWarrior project files;
  45.  
  46. -    AppleScript program for automatic builds.
  47.